#!/bin/sh
/tools/Xilinx/Vitis/2021.2/gnu/aarch32/lin/gcc-arm-linux-gnueabi/bin/arm-linux-gnueabihf-g++ -c *.cpp -lpthread --sysroot=/media/xilinx/data/xiao_brd_test/mz7a_plnx/petalinux/images/linux/sdk/sysroots/cortexa9t2hf-neon-xilinx-linux-gnueabi
/tools/Xilinx/Vitis/2021.2/gnu/aarch32/lin/gcc-arm-linux-gnueabi/bin/arm-linux-gnueabihf-gcc -c *.c -lpthread --sysroot=/media/xilinx/data/xiao_brd_test/mz7a_plnx/petalinux/images/linux/sdk/sysroots/cortexa9t2hf-neon-xilinx-linux-gnueabi
/tools/Xilinx/Vitis/2021.2/gnu/aarch32/lin/gcc-arm-linux-gnueabi/bin/arm-linux-gnueabihf-g++ *.o -o line_scan_app -lpthread --sysroot=/media/xilinx/data/xiao_brd_test/mz7a_plnx/petalinux/images/linux/sdk/sysroots/cortexa9t2hf-neon-xilinx-linux-gnueabi
rm *.o